If a player would draw a card from an empty deck, he shuffles his graveyard into his deck, then draws a card instead.